package com.fragrance.service;

import java.util.List;
import java.util.Map;

import com.fragrance.model.UserDeviceBindModel;

public interface UserDeviceBindService {
	
	//通过imei号查询该设备是否已被绑定
	List<UserDeviceBindModel> findBindDevice(String imei);
	
	//绑定设备
	Boolean bindCarlaToUser(Map<String,Object> data);
	
	//查找该微信绑定的设备信息
	UserDeviceBindModel findBindDeviceInfo(Map<String, Object> data);

	boolean unBindCarla(Map<String, Object> data);

	List<UserDeviceBindModel> getDeviceBindList(String openid);
	/**
	 * 获取用户的设备列表
	 * 
	 * @param openid
	 * @return
	 */
	List<Map> getMyDeviceList(String openid);
	
	//设备绑定列表  后台用
	Map<String, Object> deviceBindList(Map<String, Object> params);
	
	//后台解绑
	Map<String, Object> deviceBindUntie(Map<String, Object> params);
}
